package top.shen33.yang.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author oreilly
 * @since 2018-08-15
 */
public class MmallAuth extends Model<MmallAuth> {

private static final long serialVersionUID = 1L;

                    @TableId(value = "id", type = IdType.AUTO)
                private Integer id;
        private String openId;
        private String nickName;
        private Integer gender;
        private String language;
        private String province;
        private String country;
        private String city;
        private String avatarUrl;
        private Date createTime;
        private Date updateTime;


    public Integer getId() {
            return id;
            }

        public void setId(Integer id) {
            this.id = id;
            }

    public String getOpenId() {
            return openId;
            }

        public void setOpenId(String openId) {
            this.openId = openId;
            }

    public String getNickName() {
            return nickName;
            }

        public void setNickName(String nickName) {
            this.nickName = nickName;
            }

    public Integer getGender() {
            return gender;
            }

        public void setGender(Integer gender) {
            this.gender = gender;
            }

    public String getLanguage() {
            return language;
            }

        public void setLanguage(String language) {
            this.language = language;
            }

    public String getProvince() {
            return province;
            }

        public void setProvince(String province) {
            this.province = province;
            }

    public String getCountry() {
            return country;
            }

        public void setCountry(String country) {
            this.country = country;
            }

    public String getCity() {
            return city;
            }

        public void setCity(String city) {
            this.city = city;
            }

    public String getAvatarUrl() {
            return avatarUrl;
            }

        public void setAvatarUrl(String avatarUrl) {
            this.avatarUrl = avatarUrl;
            }

    public Date getCreateTime() {
            return createTime;
            }

        public void setCreateTime(Date createTime) {
            this.createTime = createTime;
            }

    public Date getUpdateTime() {
            return updateTime;
            }

        public void setUpdateTime(Date updateTime) {
            this.updateTime = updateTime;
            }

@Override
protected Serializable pkVal() {
            return this.id;
        }

@Override
public String toString() {
        return "MmallAuth{" +
                ", id=" + id +
                ", openId=" + openId +
                ", nickName=" + nickName +
                ", gender=" + gender +
                ", language=" + language +
                ", province=" + province +
                ", country=" + country +
                ", city=" + city +
                ", avatarUrl=" + avatarUrl +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
        "}";
        }
        }
